Total Complexity | 42 |
Dependencies | 5 |
Dependents | 1 |
Total lines | 275 |
Lines of code | 120 |
Logical lines of code | 80 |
Comment lines | 95 |
Methods | 9 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
maybe_sync_stock_for_refund_from_other_gateway() | 46 | 12 | 35 | |
maybe_stage_inventory_updates_for_product() | 59 | 7 | 13 | |
cache_previous_stock() | 60 | 6 | 13 | |
maybe_sync_staged_inventory_updates() | 55 | 5 | 20 | |
maybe_sync_stock_for_order_via_paypal() | 60 | 5 | 14 | |
maybe_sync_stock_for_order_via_other_gateway() | 70 | 3 | 6 | |
sync_stock_for_order() | 65 | 2 | 9 | |
__construct() | 69 | 1 | 6 | |
hide_square_order_item_meta() | 77 | 1 | 4 |